home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / cbibcode.arc / STGRPHBF.C < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-05  |  333 b   |  12 lines

  1. #include <graphics.h>
  2. #define NEWBUFSIZE 512
  3. main()
  4. {
  5.    int oldbufsize;
  6. /* Set the graphics buffer */
  7.    oldbufsize = setgraphbufsize(NEWBUFSIZE);
  8.    printf("Graphics buffer size is changed from %d bytes to %d bytes\n",
  9.    oldbufsize, NEWBUFSIZE);
  10.    printf("*** Call setgraphbufsize before calling initgraph ***\n");
  11. }
  12.